package com.dsp.services.impl;

import java.io.Serializable;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.core.util.GenericDAO;
import com.core.util.GenericServiceHibernate;
import com.dsp.bean.Area;
import com.dsp.services.AreaService;

@Service("areaService")
public class AreaServiceImpl extends GenericServiceHibernate<Area, Long> implements AreaService {
 
	private AreaService areaService;
	
	@Resource(name = "areaDAO")
	public void setDao(GenericDAO<Area, Serializable> dao){
		super.setDao(dao);
	}

	/**
	 * @return the areaService
	 */
	public AreaService getAreaService() {
		return areaService;
	}

	/**
	 * @param areaService the areaService to set
	 */
	public void setAreaService(AreaService areaService) {
		this.areaService = areaService;
	}
	
}
